package com.mc.read.dao.mapper.sys;

import com.mc.read.dao.models.sys.Sysrolepermission;
import com.mc.read.dao.models.sys.SysrolepermissionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysrolepermissionMapper {
    int countByExample(SysrolepermissionExample example);

    int deleteByExample(SysrolepermissionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Sysrolepermission record);

    int insertSelective(Sysrolepermission record);

    List<Sysrolepermission> selectByExample(SysrolepermissionExample example);

    Sysrolepermission selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Sysrolepermission record, @Param("example") SysrolepermissionExample example);

    int updateByExample(@Param("record") Sysrolepermission record, @Param("example") SysrolepermissionExample example);

    int updateByPrimaryKeySelective(Sysrolepermission record);

    int updateByPrimaryKey(Sysrolepermission record);
}